package com.aspose.cells;

class zbfe extends zck {
   zbfe(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   void b() {
      com.aspose.cells.b.a.b.a.zf var1 = this.a.e();
      this.a.a(4);
      com.aspose.cells.b.a.b.zm var2 = zbum.a(this.e.x());
      float var6;
      if (!this.e.w().a()) {
         new com.aspose.cells.b.a.b.zq(this.g, this.h, this.e.v().h(), this.e.v().i());
         com.aspose.cells.b.a.b.a.ze var4 = new com.aspose.cells.b.a.b.a.ze();
         com.aspose.cells.b.a.b.zo[] var5 = new com.aspose.cells.b.a.b.zo[4];
         float var7 = 0.0F;
         if (this.e.m != null) {
            if (this.e.m.a.size() > 0) {
               var7 = this.e.v().i() * com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 100000.0F;
            } else {
               var7 = this.e.v().i() * 0.24F;
            }
         } else {
            var7 = this.e.v().i() * 0.24F;
         }

         if (var7 <= 0.0F) {
            var5[0] = new com.aspose.cells.b.a.b.zo(this.g, this.h);
            var5[1] = new com.aspose.cells.b.a.b.zo(this.g, this.e.v().i() + this.h);
            var5[2] = new com.aspose.cells.b.a.b.zo(this.e.v().h() + this.g, this.h);
            var5[3] = new com.aspose.cells.b.a.b.zo(this.e.v().h() + this.g, this.e.v().i() + this.h);
            var4.a(var5[0], var5[1]);
            var4.j();
            var4.a(var5[2], var5[3]);
         } else {
            var6 = var7 * 2.0F;
            com.aspose.cells.b.a.b.zt var8 = new com.aspose.cells.b.a.b.zt(var6, var6);
            com.aspose.cells.b.a.b.zo var9 = new com.aspose.cells.b.a.b.zo(this.g, this.h);
            com.aspose.cells.b.a.b.zq var10 = new com.aspose.cells.b.a.b.zq(var9, var8);
            var10.a(this.e.v().l() - var6);
            var4.a(var10, 270.0F, 90.0F);
            var10.b(this.e.v().m() - var6);
            var4.a(var10, 0.0F, 90.0F);
            var10.a(this.e.v().j());
            var4.a(var10, 90.0F, 90.0F);
            var10.b(this.e.v().k());
            var4.a(var10, 180.0F, 90.0F);
            var4.i();
         }

         com.aspose.cells.b.a.b.zc var13 = zbum.a(this.e.w(), var4);
         this.a.a(var13, var4);
      }

      if (!this.e.x().a()) {
         com.aspose.cells.b.a.b.a.ze var3 = new com.aspose.cells.b.a.b.a.ze();
         com.aspose.cells.b.a.b.zo[] var11 = new com.aspose.cells.b.a.b.zo[4];
         var6 = 0.0F;
         if (this.e.m != null) {
            var6 = this.e.v().i() * com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 100000.0F;
         } else {
            var6 = this.e.v().i() * 0.24F;
         }

         if (var6 <= 0.0F) {
            var11[0] = new com.aspose.cells.b.a.b.zo(this.g, this.h);
            var11[1] = new com.aspose.cells.b.a.b.zo(this.g, this.e.v().i() + this.h);
            var11[2] = new com.aspose.cells.b.a.b.zo(this.e.v().h() + this.g, this.h);
            var11[3] = new com.aspose.cells.b.a.b.zo(this.e.v().h() + this.g, this.e.v().i() + this.h);
            var3.a(var11[0], var11[1]);
            var3.j();
            var3.a(var11[2], var11[3]);
         } else {
            float var12 = var6 * 2.0F;
            com.aspose.cells.b.a.b.zt var14 = new com.aspose.cells.b.a.b.zt(var12, var12);
            com.aspose.cells.b.a.b.zo var15 = new com.aspose.cells.b.a.b.zo(this.g, this.h);
            com.aspose.cells.b.a.b.zq var16 = new com.aspose.cells.b.a.b.zq(var15, var14);
            var16.a(this.e.v().h() - var12 + this.g);
            var3.a(var16, 270.0F, 90.0F);
            var16.b(this.e.v().i() - var12 + this.h);
            var3.a(var16, 0.0F, 90.0F);
            var3.j();
            var16.a(this.g);
            var3.a(var16, 90.0F, 90.0F);
            var16.b(this.h);
            var3.a(var16, 180.0F, 90.0F);
            var3.j();
         }

         this.a.a(var2, var3);
      }

      super.a();
      this.a.a(var1);
   }
}
